package org.ocelot.tunes4j.dbexample;

import hu.netmind.persistence.Store;

import java.util.List;

import org.ocelot.tunes4j.beans.AudioObject;

/**
 * @author Hugo
 *
 */
public class PersistExample {

	public static void main(String[] args) {
		
		Store store = new Store("org.hsqldb.jdbcDriver","jdbc:hsqldb:file:audiodb");
		List list  = store.find("find AudioObject");
		System.out.println(list.size());

	}

}
